import request from './http';


// 获取轮播图数据
export function getBanner() {
    return request({
        url: "/banner?type=3",
        method: "get"
    })
}

// 获取推荐歌单接口
export function getPersonalized() {
    return request({
        url: "/personalized?limit=6",
        method: "get"
    })
}

// 最新音乐
export function thelatestMusic() {
    return request({
        url: "/personalized/newsong",
        method: "get"
    })
}

// 推荐电台
export function thelatestradio() {
    return request({
        url: "/personalized/djprogram",
        method: "get",
    })
}
// 热门歌手
export function thevocalist(params) {
    return request({
        url: "/top/artists",
        method: "get",
        params
    })
}